package ar.com.vates.agendaTelefonica;

public class Ejercico4 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Agenda agenda = new Agenda();
		Contacto c1, c2, c3, c4;

		c1 = new Contacto("pablo", "x", 123123, "fsadfaw");
		c2 = new Contacto("mariana", "y", 123123, "fsadfaw");
		c3 = new Contacto("adgfasdfg", "z", 123123, "fsadfaw");
		c4 = new Contacto("agsdf", "z", 123123, "fsadfaw");
		
		agenda.agregarContacto(c1);
		agenda.agregarContacto(c2);
		agenda.agregarContacto(c3);
		agenda.agregarContacto(c4);
		
		agenda.mostrarContactos();
		System.out.println("Resultado de la busqueda:");
		agenda.mostrarContacto("gre");
		
		agenda.eliminarContacto("mariana");
		
		agenda.mostrarContactos();

	}

}
